< previous page page_56 next page >

Page 56
Table 3.1. continued
ControlPropertySetting
VB.TextBoxNameTxtAUID
DataField"AUID"
DataSource"dtaBookMarks"
Height300
Left1440
Top180
Width1215
VB.LabelNameLblName
BorderStyle1 'Fixed Single
Caption"Author Name"
Height300
Left120
Top600
Width1215
VB.LabelNameLblAUID
BorderStyle1 'Fixed Single
Caption"Author ID"
Height300
Left120
Top180
Width1215

Refer to Figure 3.5 as a guide for sizing and locating the controls on the form.
0056-01.jpg
Figure 3.5.
Laying out the Bookmark
Demonstration form.
When you have completed the form layout, add the following code behind the command button. The code in Listing 3.9 is a toggle routine that saves the current place in the table by reading (and storing) the Bookmark, or restores the previous place in the table by reading (and updating) the Bookmark.

 
< previous page page_56 next page >

If you like this book, buy it!